package com.sinopec.android.constant;

import java.util.ArrayList;
import java.util.HashMap;



import android.os.Environment;

/**
 * 【配置类】
 * @ClassName:Config
 * @Description:TODO
 * @author liuwei
 * @date 2012-3-8上午10:38:34
 *
 */
public class ConfigAttrs {
	/**是否打印日志**/
	public static final boolean IS_PRINT_LOG = true;
	/**是否保存日志**/
	public static final boolean IS_SAVE_LOG = false;
	/**项目包名**/
	public static final String PAKGE_NAME = "com.sinopec.android";
	/**sd卡路径**/
	public static final String SD_PATH = Environment.getExternalStorageDirectory().getPath() + "//"; 
	
	public static final String imageCachePath = Environment.getExternalStorageDirectory().getAbsolutePath()+"/sinopec/imageCache/";
	public static String ImageCachePath_data;
	//apk下载路径 APK_SD_PATH:/mnt/sdcard/myhotel/    APK_DATA_PATH：手机内置存储/data/data/
	public static final String APK_SD_PATH = Environment.getExternalStorageDirectory().getAbsolutePath()+ "/sinopec/";
	public static final String APK_DATA_PATH =Environment.getDataDirectory().getAbsolutePath()+"/data/";
	
	//更新配置图片存储路径
	public static String updateImageCachePath = Environment.getExternalStorageDirectory().getAbsolutePath()+"/sinopec/";
	public static String updateImageCachePath_data = Environment.getDataDirectory().getAbsolutePath()+"/data/" ;
	/**log文件**/
	public static final String LOG_FILENAME = "sinopec.log";
//	public static final String BASE_URL = "http://10.230.38.7:8012/ForMobile/";
//	public static final String BASE_URL = "http://10.230.38.7/";
	public static  String BASE_IP = "10.230.38.7";
	public static  String BASE_URL = "http://"+BASE_IP+"/ForMobile/";
	/**登录的账号标示**/
	public static final String LAST_LOGIN_ACCOUNT = "lastLoginAccount";
	/**登录的密码标示**/
	public static final String LAST_LOGIN_PWD = "lastLoginPwd";
	
	/**IP设置标示**/
	public static final String SET_IP = "setIp";
	/**
	 * ===================
	 * 请求接口标示
	 * ===================
	 **/
	/**登录接口标示**/
	public static final int LOGIN_TASK_FLAG = 1;
	/**查询通讯录接口标示**/
	public static final int QUERY_ADDRESSBOOK_TASK_FLAG = 2;
	/**待办事宜接口标示**/
	public static final int TODO_THING_TASK_FLAG = 3;
	/**公文详情接口标示**/
	public static final int DOCUMENT_DETAIL_TASK_FLAG = 4;
	/**会议管理接口标示**/
	public static final int CONFERENCE_MANAGEMENT_TASK_FLAG = 5;
	/**出差公文详情标示**/
	public static final int BUSINESS_TRIP_TASK_FLAG = 6;
	/**提交或退回出差公文接口标示**/
	public static final int SUBMIT_BUSINESS_TRIP_TASK_FLAG = 7;
	/**领导日程接口**/
	public static final int LEADERSHIP_AGENDA_TASK_FLAG = 8;
}